package com.example.meitu.api;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication
@ComponentScan("com.example.*")
@MapperScan("com.example.meitu.api.dao")
@EnableAsync
@EnableCaching
@EnableScheduling
public class MeituApiApplication {

    public static void main(String[] args) {
        SpringApplication.run(MeituApiApplication.class, args);
    }

}
